]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenshot-ui: Put screencasts into a subdirectory
authorIvan Molodetskikh <yalterz@gmail.com>
Fri, 17 Dec 2021 07:17:52 +0000 (10:17 +0300)
committerMarge Bot <marge-bot@gnome.org>
Sat, 29 Jan 2022 14:43:49 +0000 (14:43 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2103>

js/ui/screenshot.js

index 45417a3b540265e731194648f2ea0f20aae83c2a..c0e0cfd4447acaf6fc1aa8ca98e5ebb767d04531 100644 (file)
@@ -1888,11 +1888,16 @@ var ScreenshotUI = GObject.registerClass({
             }
 
             method(
-                /* Translators: this is a filename used for screencast
-                 * recording, where "%d" and "%t" date and time, e.g.
-                 * "Screencast from 07-17-2013 10:00:46 PM.webm" */
-                /* xgettext:no-c-format */
-                _('Screencast from %d %t.webm'),
+                GLib.build_filenamev([
+                    /* Translators: this is the folder where recorded
+                       screencasts are stored. */
+                    _('Screencasts'),
+                    /* Translators: this is a filename used for screencast
+                     * recording, where "%d" and "%t" date and time, e.g.
+                     * "Screencast from 07-17-2013 10:00:46 PM.webm" */
+                    /* xgettext:no-c-format */
+                    _('Screencast from %d %t.webm'),
+                ]),
                 { 'draw-cursor': new GLib.Variant('b', drawCursor) },
                 ([success, path], error) => {
                     if (error !== null) {